<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>送货回报</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="../../../css/wx/mui.min.css">
    <link rel="stylesheet" href="../../../css/wx/app.css">
    <link rel="stylesheet" href="../../../css/wx/style.css"/>
    <link rel="stylesheet" href="../../../css/wx/style-hn.css"/>
    <link rel="stylesheet" href="../../../css/wx/wx-iconfont.css"/>

    <script type="text/javascript">
        var pageConfig = {
            jss: ["app/shhb/shhb-info"]
        };
    </script>
    <script data-main="../../../js/wx/public/config" src="../../../js/require.js"></script>
    <style type="text/css">

        .group {
            margin-bottom: 5px;
        }

        .group ol,
        .group2 {
            background: #fff;
            box-shadow: 1px 2px 4px #bdb7b7;
            margin: 0;
        }

        .group ol li {
            display: flex;
            line-height: 22px;
            padding: 10px 15px;
            border-bottom: 1px solid #dadada;
            font-size: 13px;
        }

        .group ol li:last-child {
            border-bottom: none;
        }

        .group ol li p {
            width: 100px;
            color: #333;
        }

        .group ol li p i,
        .group span i {
            color: #FF7100;
            font-size: 20px;
        }

        .group > p {
            margin: 0;
            padding: 5px 10px;
        }

        .potoImg li {
            width: 111px;
            height: 111px;
            overflow: hidden;
            border: 1px solid #dadada;
        }

        img {
            max-width: 100% !important;
            max-height: 100% !important;
        }

        .group2 p {
            color: #333;
        }

        .group2 textarea {
            font-size: 30px;
            padding: 10px;
        }

        .mui-content-padded {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 56px;
            margin: 0;
            z-index: 99;
        }

        .mui-content-padded button {
            margin: 0;
            height: 100%;
            border-radius: 0;
        }

        .potoImg {
            overflow: auto;
        }

        .potoImg ul li {
            float: left;
            margin-left: 6px;
            margin-bottom: 6px;
        }

        .mui-scroll ul {
            margin-left: -6px;
        }

        .signature-pad--body {
            position: relative;
            -webkit-box-flex: 1;
            width: 100%;
            height: 180px;
            flex: 1;
            border: 1px solid #f4f4f4;
        }

        .signature-pad--body canvas {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            border-radius: 4px;
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
        }


        .mui-scroll ul {
            margin-left: -6px;
        }

        .writen {
            position: absolute;
            z-index: 999;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            width: 86%;
            height: 50%;
            margin: auto;
        }

        .writen > .mui-row {
            text-align: center;
            margin-top: 10px;
        }

        .writen > .mui-row button {
            color: #fff;
        }

        .writen > .mui-row button:first-child {
            background-color: #FFB400;
            border-color: #FFB400;
        }

        textarea {
            margin: 0;
        }

        .signSpan{
            font-size: 24px;
            color: #ff7100;
            line-height: 32px;
            position: absolute;
            left: 80px;
            top: 0px;
        }

        .signLabel{
            position: absolute;
            bottom: 175px;
        }
    </style>
</head>

<body>
<div class="mui-content wf-listGoods mui-content wf-user-add jxs-add wf-yshb">
    <div class="mui-scroll-wrapper" style="bottom: 57px">
        <div class="mui-scroll">
            <div class="group">
                <ol>
                    <li><p>签收时间</p><span v-text="date"></span></li>
                    <li class="flexl">
                        <label style="flex: 0 0 26%;">签收地址</label>
                        <span style="flex: 0 0 73%;">
                            <textarea v-model="GWEC021" rows="3" readonly></textarea>
                        </span>
                        <!--<i @tap.stop="showMap" class="icon iconfont icon-23 wf-font-color" style="font-size: 20px"></i>-->
                    </li>
                    <li class=" mui-table-view-cell flexl">
                        <label style="flex: 0 0 26%;">签收数量</label>
                        <div class="mui-numbox" data-numbox-step='1' data-numbox-min='0' style="width:50%;">
                            <button class="mui-btn mui-numbox-btn-minus" type="button">-</button>
                            <input class="mui-numbox-input" type="number" v-model="GWEC018" style="font-size: 13px"/>
                            <button class="mui-btn mui-numbox-btn-plus" type="button">+</button>
                        </div>
                    </li>
                    <li @tap="showSignature" class="mui-table-view-cell serve">
                        <div class="flex-scene">
                            <label class="signLabel">客户签字：</label>
                            <span class="iconfont icon icon-16 signSpan"></span>
                        </div>
                        <div class="witer" style="height: 180px;background: #f1f1f1;">
                            <img v-show="signature" id="signatureImg" :src="signature"
                                 style="width: 100%;height: 180px;">
                            <!--<span class="iconfont icon icon-21"></span>-->
                        </div>
                    </li>

                </ol>
            </div>

            <form class="mui-input-group" style="margin-bottom: 10px;">
                <label style="font-size: 14px;">照片</label>
                <div class="mui-input-row wf-imageUpdates">
                    <div class="wf-imageUpdate">
                        <div class="tackPoto">
                            <div class="div-autoline-boxDiv">
                                <template v-for="(img,inx) in imgUrls">
                                    <div class="div-autoline-parent">
                                        <div class="child">
                                            <i @tap.stop="delimg(inx)" class="mui-icon mui-icon-closeempty posIcon"></i>
                                            <img :src="img.img">
                                        </div>
                                    </div>
                                </template>
                                <div @tap.stop="addImgs" class="div-autoline-parent">
                                    <div class="child start"><i class="icon iconfont icon-05"></i></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>

    <div class="mui-content-padded">
        <button class="mui-btn mui-btn-block mui-btn-primary puliColor_bg" id="btn_save" style="border: none">回报
        </button>
    </div>
</div>

<div id="backdrop" class="mui-backdrop" style="display: none;">
    <div class="writen">
        <div id="signature-pad--body" class="signature-pad--body">
            <canvas></canvas>
        </div>
        <div class="mui-row">
            <button id="clearSignature" type="button" class="mui-btn mui-btn-primary mui-btn-outlined"
                    style="letter-spacing: 6px;">清空
            </button>
            <button id="signature" type="button" class="mui-btn mui-btn-warning mui-btn-outlined puliColor_bg"
                    style="letter-spacing: 6px;">确认
            </button>
        </div>
    </div>
</div>
</body>
</html>

